package com.ifengxue.ioc.annotation;

import java.lang.annotation.*;

/**
 * bean 限定
 *
 * @author LiuKeFeng
 * @date 2017-08-11
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.FIELD})
@Documented
@Inherited
public @interface Qualifier {
    /**
     * 限定 bean 的名称
     * @return
     */
    String name() default "";
}
